package com.newasia.server.dal.persistence;

import com.newasia.server.dal.entitys.WxLogin;
import com.newasia.server.dal.entitys.WxLoginExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface WxLoginMapper {
    long countByExample(WxLoginExample example);

    int deleteByExample(WxLoginExample example);

    int insert(WxLogin record);

    int insertSelective(WxLogin record);

    List<WxLogin> selectByExample(WxLoginExample example);

    int updateByExampleSelective(@Param("record") WxLogin record, @Param("example") WxLoginExample example);

    int updateByExample(@Param("record") WxLogin record, @Param("example") WxLoginExample example);

    WxLogin selectWxLoginByOpenId(@Param("openId") String openId);
}